package com.example.inventorywarningdemo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author Survive
 * @date 2025/3/11
 * @description TODO 订单实体
 */
@Data
@TableName("mt_order")
public class Order {
    @TableId(type = IdType.AUTO)
    private Long id;
    @TableField("store_id")
    private Long storeId;
    @TableField("AMOUNT")
    private BigDecimal amount;
    @TableField("PAY_TIME")
    private LocalDateTime orderTime;
}